import axios from 'axios'

function Get (url) {
    return function (params = {}) {
        return axios.get(url, {
            params
        }).then((data) => {
            if (!data) {
                return;
            }
            return data
        }).catch(() => {

        })
    }
}

export default Get